package com.nuanshui.heatedloan.extension.shiro;

import org.apache.shiro.authc.UsernamePasswordToken;

/**
 * 用户名密码令牌UsernamePasswordToken，增加验证码
 */

public class CaptchaUsernamePasswordToken extends UsernamePasswordToken {
	/** 描述 */
	private static final long serialVersionUID = 1L;
	private String captcha;

	public String getCaptcha() {
		return captcha;
	}

	public void setCaptcha(final String captcha) {
		this.captcha = captcha;
	}

	public CaptchaUsernamePasswordToken() {
		super();
	}

	public CaptchaUsernamePasswordToken(final String username,
			final String password, final boolean rememberMe, final String host,
			final String captcha) {
		super(username, password, rememberMe, host);
		this.captcha = captcha;
	}
}
